Variant.Hash Function

Returns a hash value for the variant, i.e., one that will always be the same for any variant with the same value. The Hash value is guaranteed to be unique for integers and colors.

Syntax

result = Variant.Hash( )

Return Value

Result

Integer

Notes

For objects, it's guaranteed to be unique among all objects currently in existence (though once an object dies, a future object may use the same hash value).